package com.cinemate;

import android.app.Activity;
import android.os.Bundle;
import android.view.KeyEvent;

/**
 * Created by IntelliJ IDEA.
 * User: alexeybu
 * Date: 04.01.12
 * Time: 17:04
 * To change this template use File | Settings | File Templates.
 */
public class WatchList extends Activity {
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.watchlist);
    }

    @Override
	public boolean onKeyDown(int keyCode, KeyEvent event) {
	    if ((keyCode == KeyEvent.KEYCODE_BACK)) {
	    	moveTaskToBack(true);
	    }
	    return super.onKeyDown(keyCode, event);
	}
}